export default {
    submit: {
        validate: () => {
            console.log('submit  validate start');
        },
        action: async ({ dispatch }: any) => {
            console.log('start');
            const getDataForSubmit = await dispatch({
                type: 'forms/getDataForSubmit'
            })
            console.log('getDataForSubmit---', getDataForSubmit);
            console.log(' end');
            return {
                1: getDataForSubmit
            }
        }
    },
    save: {
        action: async () => {
            console.log('action_save  start');
            return "save.action"
        }
    }
}